<script type="text/javascript">
$(document).ready(function() { 
	ajaxLink();
}); 
</script>
<div class="content">
	<div class="simplebox grid740">
	<div class="titleh">
    <h3>模块管理  [<a href="{url('Module','Edit',array('position'=>$position))}">添加模块</a>]</h3>
    </div>
        <table class="tablesorter"> 
        	<thead> 
        		<tr> 
        			<th class="header">ID</th> 
        			<th class="header">模块名称</th> 
        			<th class="header">模块标签</th>
        			<th class="header">获取分享条数</th> 
        			<th class="header">排序</th> 
        			<th class="header">更新时间</th> 
        			<th class="header">操作</th> 
        		</tr> 
        	</thead> 
            {if !empty($modules)}
            <tbody> 
            	{loop $modules $item}
            	<tr> 
            		<td>{$item['id']}</td> 
            		<td>{$item['title']}</td> 
            		<td>{$item['tags']}</td> 
            		<td>{$item['page_size']}</td> 
            		<td>{$item['orderby']}</td> 
            		<td>{$item['updated']}</td> 
            		<td><a href="{url('Module','Edit',array('id'=>$item['id']))}">编辑</a> <a href="{url('Module','Del',array('id'=>$item['id']))}" type="ajaxGet" confirm="确定要删除么？">删除</a></td> 
            	</tr> 
            	{/loop}
            </tbody> 
            {/if}
        </table>
	</div>
</div>